package com.example.demo.client.evt.sysbasequery;

import com.ffcs.oss.param.in.QueryPageEvt;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * @Author zhengmf
 * @Date 2018/12/27  17:01
 */
@ApiModel("系统常量查询参数")
public class QuerySystemConfigEvt extends QueryPageEvt implements Serializable {
    private static final long serialVersionUID = 3158078817331042459L;
    @ApiModelProperty("key值")
    private String key;
    @ApiModelProperty("值")
    private String value;
    @ApiModelProperty("描述")
    private String desc;
    @ApiModelProperty("状态：E：启用，D:删除，T：禁用")
    private String status;
    @ApiModelProperty("全文搜索")
    private String retrieval;

    public QuerySystemConfigEvt(String key, String value, String desc, String status, String retrieval) {
        this.key = key;
        this.value = value;
        this.desc = desc;
        this.status = status;
        this.retrieval = retrieval;
    }

    public QuerySystemConfigEvt() {
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRetrieval() {
        return retrieval;
    }

    public void setRetrieval(String retrieval) {
        this.retrieval = retrieval;
    }

    @Override
    public String toString() {
        return "QuerySystemConfigEvt{" +
            "key='" + key + '\'' +
            ", value='" + value + '\'' +
            ", desc='" + desc + '\'' +
            ", status='" + status + '\'' +
            ", retrieval='" + retrieval + '\'' +
            '}';
    }
}
